#pragma once

#include "../RHIResource.h"
#include "../Shader/ShaderPtr.h"
#include "../Shader/RHIDescriptor.h"

class RHIPipeline : public RHIResource
{
public:

	virtual ~RHIPipeline();

	VkPipeline GetPipeline() const;

	VkPipelineLayout GetPipelineLayout() const;

	RefCountPtr<RHIDescriptor> GetDescriptor() const;

protected:

	VkPipeline mPipeline;

	RefCountPtr<RHIDescriptor> mDescriptor;
};